<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<table id="add_meun" border='0'>
<?php echo form_open('admin/test/add_admin');?>
<tr>
<td>父级菜单</td>
<td>
<select name="selected" style='width:145px;'>
<option value='0'>独立类别</option>
<?php foreach($data as $k=>$val):?>
<option value=<?php echo $val['id']?> >
<?php echo str_repeat("&nbsp;&nbsp;",$val['depth']),'╠'.$val['title']?>
</option>
<?php endforeach;?>
</select>
</td>
</tr>
<tr> 
<td>标题</td>  
<td><input type="text" name="meun_title"/></td>  
</tr>
<tr>
<td>控制器</td>
<td><input type="text" name="meun_control"/></td>
</tr>
<tr>
<td>方法</td>
<td><input type="text" name="meun_method"/></td>
</tr>
<tr align="right">
<td colspan="2" ><input type="submit" value="提交"/></td>
</tr>
<?php echo form_close();?>
</table>
</body>
</html>
